﻿<Window x:Class="Dynamic_UI_Framework.LayoutDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="LayoutDialog"
        Width="300"
        Height="300"
        WindowStartupLocation="CenterOwner">
    <Grid>
        <TextBlock Name="textBlock1"
                   Height="23"
                   Margin="22,33,0,0"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Text="Name" />
        <TextBox Name="txtName"
                 Width="120"
                 Height="23"
                 Margin="91,30,0,0"
                 HorizontalAlignment="Left"
                 VerticalAlignment="Top" />
        <TextBlock Name="textBlock2"
                   Height="23"
                   Margin="23,69,0,0"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Text="Dock" />
        <TextBlock Name="textBlock3"
                   Height="23"
                   Margin="22,102,0,0"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Text="Background" />
        <Button Name="btnOK"
                Width="75"
                Height="23"
                Margin="33,200,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="btnOK_Click"
                Content="确定" />
        <Button Name="btnCancel"
                Width="75"
                Height="23"
                Margin="149,202,0,0"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="btnCancel_Click"
                Content="取消" />
        <ComboBox Name="cbDock"
                  Width="120"
                  Height="23"
                  Margin="91,73,0,0"
                  HorizontalAlignment="Left"
                  VerticalAlignment="Top" />
        <ComboBox Name="cbBackground"
                  Width="120"
                  Height="23"
                  Margin="91,102,0,0"
                  HorizontalAlignment="Left"
                  VerticalAlignment="Top"
                  IsEditable="True" />
        <TextBlock Name="textBlock4"
                   Height="23"
                   Margin="34,140,0,0"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Text="Width" />
        <TextBlock Name="textBlock5"
                   Height="23"
                   Margin="28,169,0,0"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Text="Heigh" />
        <TextBox Name="txtWidth"
                 Width="120"
                 Height="23"
                 Margin="91,140,0,0"
                 HorizontalAlignment="Left"
                 VerticalAlignment="Top" />
        <TextBox Name="txtHeigh"
                 Width="120"
                 Height="23"
                 Margin="91,173,0,0"
                 HorizontalAlignment="Left"
                 VerticalAlignment="Top" />
    </Grid>
</Window>
